[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                              Halt procedure

  DECLARATION:  Halt [ (ExitCode : Word) ]

      PURPOSE:  Stops program and returns to operating system

         UNIT:  System

      REMARKS:  ExitCode is an optional word-type expression that specifies
                the exit code of the program.  The exit code can be examined
                by ErrorLevel in a DOS batch file, or by a parent process
                using the DosExitCode function in the DOS Unit.

                Halt without any parameter is the same as Halt(0).  Halt will
                initiate any unit Exit procedures.

See Also: Exit
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson